/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
 */

export class FileMetaData {
  size: number;
  lastModifiedTime: number;

  constructor(size = 0, lastModifiedTime = 0) {
    this.size = size;
    this.lastModifiedTime = lastModifiedTime;
  }

  equals(other: FileMetaData) {
    return this.size === other.size && this.lastModifiedTime === other.lastModifiedTime;
  }
}
